import{On as e,Zn as t,_ as n,b as r,er as i,k as a,mt as o,tr as s,v as c,y as l}from"./CIxmKYxc4tZcJF.js";import{i as u,t as d}from"./CRXWXnv73Tdqyd.js";import{o as f}from"./BbxvatETxeTHf.js";import{n as p}from"./CeRl2rJI48bZ2S.js";import{i as m,n as h,r as g,t as _}from"./CzmsogS93J5Mgz.js";import"./C3Xax3Tz4BagVD.js";/* empty css              */var v={class:`app-list-item-inner app-list-item-border`},y={class:`app-list-item-state`},b={class:`app-list-item-line1`},x={class:`app-list-item-date`},S={class:`app-list-item-amount`},C=[`data-credit`],w={class:`app-list-item-number`},T={class:`app-list-item-line2`},E={class:`app-list-item-contact`},D=a({__name:`app-list-item-pay`,props:{item:{},selected:{type:Boolean},selectedLast:{type:Boolean},size:{}},setup(a){return(D,O)=>(o(),r(`div`,{class:t([`app-list-item`,{selected:a.selected,selectedLast:a.selectedLast}]),style:i({height:`${a.size}px`})},[n(`div`,v,[n(`div`,y,[a.item.star?(o(),c(e(h),{key:0})):a.item.confirmed?l(``,!0):(o(),c(e(_),{key:1}))]),n(`div`,b,[n(`div`,x,s(e(d)(a.item?.date)),1),n(`div`,S,[n(`div`,{class:`app-list-item-credit`,"data-credit":!!a.item.credit},[a.item.credit?(o(),c(e(m),{key:0})):l(``,!0),a.item.credit?l(``,!0):(o(),c(e(g),{key:1}))],8,C),n(`span`,w,s(e(u)(e(p)(a.item.amount,a.item.currency,a.item.exchangeRate))),1)])]),n(`div`,T,[n(`div`,E,s((a.item.contact&&e(f).workspace?.items?.[a.item.contact]?.title)??` `)+`\xA0 `,1)])])],6))}});export{D as default};